package org.KeyCrafter.cmd;

import org.KeyCrafter.server.session.ClientSession;

@CmdSet
public interface HashCommand {
    @CmdInfo(name = "hset", arity = 4, sflags = "wm", firstKey = 1, lastKey = 1, keyStep = 1)
    void hsetCommand(ClientSession c);
    @CmdInfo(name = "hget", arity = 3, sflags = "r", firstKey = 1, lastKey = 1, keyStep = 1)
    void hgetCommand(ClientSession c);
    @CmdInfo(name = "hmset", arity = -4, sflags = "wm", firstKey = 1, lastKey = 1, keyStep = 1)
    void hmsetCommand(ClientSession c);
    @CmdInfo(name = "hmget", arity = -3, sflags = "r", firstKey = 1, lastKey = 1, keyStep = 1)
    void hmgetCommand(ClientSession c);
}
